<?php header("Content-Type: text/html; charset=gb2312");
		//$req = "mobile=".trim($_POST['mobile'])."&captcha=".trim($_POST['captcha']);
    $req       =   "start-min=2010-01-12T00:00:00&start-max=2010-01-13T23:59:59&ctz=Asia/Shanghai";
		$header   .=   "POST /calendar/feeds/xyqcalender@gmail.com/public/full HTTP/1.0\r\n";//请求页面
    $header   .=   "HOST: www.google.com\r\n";//访问主机
    $header   .=   "Content-Type: application/x-www-form-urlencoded\r\n";
    $header   .=   "Content-Length:".strlen($req)."\r\n\r\n";
    $fp   = fsockopen('www.google.com', 80,  $errno, $errstr, 30);
    if(!$fp){
			echo "$errstr ($errno)<br />\n";
    }else{
      fputs($fp,$header.$req);
      while(!feof($fp)){
       	$str = fgets($fp,512);
      }
    }

   	echo $str;//." -e ".iconv("utf-8","gb2312",trim($_POST['captcha']));

    fclose($fp);
?>